package one.stand.mapper;

import one.stand.model.Chat;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChatMapperExt {
    List<Chat> getImChat(@Param("userid") Integer id);

    void updateByCid(@Param("chat") Chat chat);

    Chat getByTargetUserId(@Param("id") Integer id, @Param("tUserId") Integer targetUserId);
}